<div class="policies" id="set_policies">
	<div class="panel">
		<div class="title">
			访问控制
			<button class="close" type="button">×</button>
		</div>
		<div class="content">
			<form class="form-horizontal" action="/policies/update"
				enctype="application/x-www-form-urlencoded" method="post"
				id="secury_form">
				<div class="time">
					<div class="checkbox-outer">
						<div class="checkbox-inner">
							<div class="icon-checkbox" id="enable-exp-time-setting"></div>
						</div>
					</div>
					<div class="time_slot_box" style="vertical-align: middle;">可查阅时间</div>
					<div class="date-error-msg-box" id="date-error-msg-box"></div>
				</div>

				<div class="time-group"><div class="time">

  					<div class="checkbox-outer">
  						<div class="checkbox-inner">
  							<div class="icon-radio" id="is_expired_time"></div>
  						</div>
  					</div>
					<span class="stay">在</span>
					<div class="time_slot_box">
						<!--<select name="time_slot">
							<option value="1" >一小时</option>
							<option value="2">四小时</option>
							<option value="3" selected="selected">一天</option>
							<option value="4">三天</option>
							<option value="5">一周</option>
							<option value="6">一个月</option>
						</select>-->
						<input id="datetimepicker" name="datetimepicker" type="text" >
						<i style="margin-left: -27px;" id="datetimepicker-icon"></i>
						<span id="time_txt" style="padding-left: 5px;">之前可查阅</span>
					</div>
					<!--可查阅&nbsp;&nbsp;
					<span class="glyphicon glyphicon-time"></span>-->
				</div>
				<div class="time">
					<div class="checkbox-outer">
						<div class="checkbox-inner">
							<div class="icon-radio" id="is_expired_time2"></div>
						</div>
					</div>
					<span class="stay">在</span>
					<div class="time_slot_box">
						<div id="time_select">
							<select name="time_slot" id="time_slot">
								<option value="0" >自定义</option>
								<option value="1" >一小时</option>
								<option value="2">四小时</option>
								<option value="3" selected="selected">一天</option>
								<option value="4">三天</option>
								<option value="5">一周</option>
								<option value="6">一个月</option>
							</select>
							<span class="stay" style="margin-left: 5px;">之内可查阅</span>
						</div>
						<div id="time_custom" style="display: none;">
							<input name="time_slot_h" min="0" max="9999" value="0" class="common-input time_slot_input" style="margin-left: 5px;"><span class="time-slot-input-split">时</span>
							<input name="time_slot_i" min="0" max="60" value="0" class="common-input time_slot_input"><span class="time-slot-input-split">分</span>
							<input name="time_slot_s" min="0" max="60" value="10" class="common-input time_slot_input"><span class="time-slot-input-split">秒</span>
							<span class="stay">之内可查阅</span>
							<a id="show_time_slot_select"></a>
						</div>
					</div>

					<!--可查阅&nbsp;&nbsp;
					<span class="glyphicon glyphicon-time"></span>-->
				</div></div>

				<div>
						
				</div>
				<div class="only_one clearfix">
					<div class="checkbox-outer">
  						<div class="checkbox-inner">
  							<div class="icon-checkbox" id="is_only_one"></div>
  						</div>
  					</div>
  					<span class="stay">可查阅</span>
					<input type="text" name="open_counter" id="opened_times" class="opened-times" />
					<input type="text" id="opened_times_show" class="opened-times" readonly />
					<input type="text" id="opened_unlimit_show" class="opened-times" value="无限次" readonly />
				</div>
				<div class="auto_del clearfix">
					<div class="checkbox-outer">
  						<div class="checkbox-inner">
  							<div class="icon-checkbox" id="is_auto_del"></div>
  						</div>
  					</div>
					<span class="stay">自动销毁</span>
				</div>
				<div class="set-pwd clearfix">
					<i class="icons_read_pwd icon-lock"></i>
					<span id="j_setpwd" class="set-pwd-btn" style="display:none;">设置查阅密码</span>
					<div id="j_inputpwd" class="inputpwd-box" style="display:none;">
						<span class="inline-block">查阅密码</span>
						<input type="hidden" name="is_read_pwd" value="" class="is-read-pwd">
						<input type="text" name="read_pwd" value="{{f_pwd}}" class="read-pwd inline-block" maxlength=4>
						<a href="javascript:void(0);" class="icons_read_pwd icon-copy inline-block"  data-clipboard-text="{{f_pwd}}" title="复制"></a>
						<a href="javascript:void(0);" class="icons_read_pwd icon-del inline-block" id="j_deletepwd" title="删除"></a>
						<span class="copy_result "></span>
						<label class="error "></label>
					</div>
				</div>

				<div class="tip">
					<div class="icon-txt">
						<span class="glyphicon glyphicon-exclamation-sign"></span>
						<span>查阅过程中禁止以下操作：</span>
					</div>
					<div class="icons">
						<div class="icon copy" title="复制"></div>
						<div class="icon cut" title="截屏"></div>
						<div class="icon paste" title="另存为"></div>
						<div class="icon print" title="打印"></div>
						<div class="icon network" title="网络发送"></div>
					</div>
				</div>
				<input type="hidden" name="f_id" value="{{f_id}}">
				<input type="hidden" name="time_type" value="{{time_type}}" >
				<div class="submit">
					<button type="button" class="btn btn-default btn-submit" id="secury_btn">保存</button>
				</div>
			</form>
		</div>

	</div>
</div>